// Names: Alex Benjamin
// Email: abenjamin@wustl.edu
//
#ifndef FIVECARDDRAW_H
#define FIVECARDDRAW_H

#include "game.h"
#include "deck.h"

class PlayerGame;

#define OUT_OF_CARDS		-200
#define TOO_MANY_PLAYERS	-201

class FiveCardDraw : public Game {

public:
	FiveCardDraw();
	Deck discardDeck;
	int auto_discard(PlayerGame* p);
private:
	void auto_discardTP(Hand &cards);
	void auto_discardFOAK(Hand &cards);
	void auto_discardTOAK(Hand &cards);
	void auto_discardPair(Hand &cards);
	void auto_discardNoRank(Hand &cards);
	int flush_draw(Hand &cards);
	int straight_draw(Hand &cards);
};

#endif
